package io.task.cc.network;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.CountDownLatch;

@Slf4j
@Setter
@Getter
public class PacketMetaData {

    private Boolean sentSuccess = false;
    private CountDownLatch countDownLatch = null;

    public void countDown() {
        if (countDownLatch != null) {
            this.countDownLatch.countDown();
        }
    }
}
